package com.springmvc.demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.springmvc.demo.model.FamilyProfile;

@Mapper
@TableName("family_profile")
public interface FamilyProfileMapper extends BaseMapper<FamilyProfile>{
	@Select("Select * From family_profile Where id=#{id}")
	FamilyProfile getFamily(@Param("id") int id);
}
